package com.xxh.dasongapp.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xxh.dasongapp.common.entity.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_website")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="网站",description="网站")
public class Website extends BaseEntity<Website> implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "网站id")
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "网站名")
    private String name;

    @ApiModelProperty(value = "网站类型")
    private String type;

    @ApiModelProperty(value = "网站地址")
    private String url;

    @ApiModelProperty(value = "网站介绍")
    private String introduce;

    @ApiModelProperty(value = "网站照片名")
    private String imgFile;


    @ApiModelProperty(value = "1：隐藏,0:不隐藏")
    private Integer isHide;


}
